package com.lagou.mongosharding.entity;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author hgvgh
 * @version 1.0
 * @description
 * @date 2021/3/14
 */
@Document(collection = "lagou_resume_datas")
public class Resume {

  private String name;

  private String salary;


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getSalary() {
    return salary;
  }

  public void setSalary(String salary) {
    this.salary = salary;
  }

  @Override
  public String toString() {
    return "Resume{" +
        "name='" + name + '\'' +
        ", salary='" + salary + '\'' +
        '}';
  }
}
